//
//  FaceKit.h
//  DCFaceKit
//
//  Created by 张涛 on 2020/10/12.
//  Copyright © 2020 zhangtao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "DCFaceAdapter.h"
#import <DCUtilKit/DCUtilKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface FaceKit : NSObject

@property(nonatomic,strong) DCFaceAdapter *faceAdapter;
@property(nonatomic,strong) NSDictionary *faceInfo;

+ (instancetype) sharedKit;
//初始化人脸识别管理类
- (void) initWithInfo:(NSDictionary* __nullable)info;
//活体检测
- (void) livenessDetection:(UIViewController*)parentViewController callback:(nullable void (^)(DCError *error,NSDictionary *data))callback;

@end

NS_ASSUME_NONNULL_END
